//
//  main.cpp
//  math3d
//
//  Created by yaoyu on 2021/1/29.
//

#include <iostream>
#include "Vector3.hpp"

using namespace std;

std::ostream &operator<<(std::ostream &out, const Vector3& a)
{
	out << a.x << ", " << a.y << ", " << a.z;
	return out;
}

static void test_vector3();

int main(int argc, const char * argv[]) {
    std::cout << "你好, 欢迎探索YYMath3d世界!\n";
    test_vector3();
    return 0;
}

static void test_vector3()
{
	auto a = Vector3();
	cout << a << endl;
	cout << a.zero() << endl;
}